package com.bit.aop.proxy;

import com.bit.aop.aspect.TimeRecord;
import org.springframework.stereotype.Component;

@Component
public class RealHouseSubject implements HouseSubject{
    @TimeRecord
    @Override
    public void saleHouse() {
        System.out.println("我是房东, 我卖房");
    }

    @Override
    public void rentHouse() {
        System.out.println("我是房东, 我出租房");
    }


}
